from python.common.utils import root_read, root_write
import json

separator = '\r\n'

data = root_read('json', 'details.json')
loads = json.loads(data)

descs = []

for load in loads:
    desc = load.get('desc', [])
    for d in desc:
        descs.append(d)

content = separator.join(descs)

root_write('json', '某地区前端招聘需求搜集.txt', content)




